package com.liuya.common.exception;

import com.liuya.common.support.HttpCode;

/**
 * 参数异常
 *
 * @author liuya
 * @date 20160824
 */
public class IllegalParameterException extends BaseException {
    public IllegalParameterException() {
    }

    public IllegalParameterException(Throwable ex) {
        super(ex);
    }

    public IllegalParameterException(String message) {
        super(message);
    }

    public IllegalParameterException(String message, Throwable ex) {
        super(message, ex);
    }

    protected HttpCode getHttpCode() {
        return HttpCode.BAD_REQUEST;
    }
}
